<%@ page contentType="text/html;charset=UTF-8" language="java"  import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<html>
<body>
<!-- html -->
<h2>Hello World! Hello world 中国</h2>
<%
   String msg="This is printed by out.println.";
%>
 <br/>
<%=msg%>
<br/>

<%
    out.print(msg);
%>
<br>
<%
    Date date =new Date();
    SimpleDateFormat dateFormat=new SimpleDateFormat("YYYY-MM-dd hh:mm:ss");
    String str= dateFormat.format(date);
    out.print(str);

%>
</body>
</html>
